/*
 * @(#)ListDmsRootForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.web;

import com.dcivision.framework.web.AbstractSearchForm;

/**
  ListDmsRootForm.java

  The ActionForm for ListDmsRootAction

    @author          Rollo Chan
    @company         DCIVision Limited
    @creation date   13/08/2003
    @version         $Revision: 1.3 $
*/

public class ListDmsRootForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.3 $";

  private String rootType = null;
  
  private boolean ignoreDeleteShortcut = false;

  public ListDmsRootForm() {
    super();
    this.setSortAttribute("ROOT_NAME");
    this.setSortOrder("ASC");
    this.rootType = com.dcivision.dms.bean.DmsRoot.PUBLIC_ROOT;
  }

  public String getRootType() {
    return(this.rootType);
  }

  public void setRootType(String rootType) {
    this.rootType = rootType;
  }
  
  public boolean isIgnoreDeleteShortcut() {
    return ignoreDeleteShortcut;
  }

  public void setIgnoreDeleteShortcut(boolean ignoreDeleteShortcut) {
    this.ignoreDeleteShortcut = ignoreDeleteShortcut;
  }

}